<?php

	class ServiceBusiness {
		
		public function select($service) {
			
			$dataBaseConnection = DataAccessFactory::factory('DataAccessMySQL');
			
			$dataBaseConnection->connect();
			
			$serviceDataAccess = DataAccessFactory::factory('ServiceDataAccessMySQL');

			$result = $serviceDataAccess->select($service, $dataBaseConnection);
			
			$dataBaseConnection->disconnect();
			
			return $result;
		}
		
	}

?>